﻿CREATE TABLE [dbo].[XMLContent] (
    [KeyXMLContent]             XML NULL,
    [EmbeddedXMLContent]        XML NULL,
    [Id]                        INT IDENTITY (1, 1) NOT NULL,
    [EmergencyMessageContentId] INT NOT NULL
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Namespaced XML message content', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'XMLContent';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Collected fragments of XML', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'XMLContent', @level2type = N'COLUMN', @level2name = N'KeyXMLContent';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Valid XML from an explicit namespaced XML schema', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'XMLContent', @level2type = N'COLUMN', @level2name = N'EmbeddedXMLContent';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Unique identifier generated by the database management system.', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'XMLContent', @level2type = N'COLUMN', @level2name = N'Id';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Reference to the associated message content.', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'XMLContent', @level2type = N'COLUMN', @level2name = N'EmergencyMessageContentId';

